package com.manager.devicemanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value="testbatch",schema="public")
@Schema(name = "Testbatch", description = "")
public class Testbatch implements Serializable {

    private static final long serialVersionUID = 1L;
    @Schema(description = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "批次名称自定义，不重复")
    private String batchname;
    @Schema(description = "板卡启用情况JSON格式")
    private String enableboardstatus;
    @Schema(description = "控制类型远程本地")
    private String controltype;
    @Schema(description = "系统电压")
    private String systemvoltage;
    @Schema(description = "系统电流")
    private String systemcurrent;
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date starttime;
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endtime;
//    @Schema(description ="是否结束 ")
//    private String status;


}